<style>
    .footer-home{display: none}
</style>
<header>
    <a href="javascript:history.back();" style="color: #fff;">
        <i class="iconfont icon-xialalan-copy"></i>
    </a>
    <span>设施/详情</span>
</header>

<div class="container margin_bot">
    <div class="detail">
        <div class="de_title"><span class="icon iconfont icon-wifi"></span>网络设施</div>
        <div class="txt">
            <ul class="ul_line">
                <li><?php echo $output['hotel_info']['hotel_param_wifi']; ?><span class="green">免费</span></li>
            </ul>
        </div>
    </div>
    <div class="detail">
        <div class="de_title"><span class="icon iconfont icon-tingchechang"></span>停车场</div>
        <div class="txt">
            <ul class="ul_line">
                <li><?php echo $output['hotel_info']['hotel_param_part']; ?></li>
            </ul>
        </div>
    </div>

        <div class="detail">
            <div class="de_title"><span class="icon iconfont icon-shiwu-feiji"></span>酒店设施</div>
            <div class="txt">
                <ul class="ul_line">
                    <?php foreach(explode(',',$output['hotel_info']['hotel_param_base']) as $value) {?>
                        <li><?php echo $value; ?></li>
                    <?php }?>
                </ul>
            </div>
        </div>
        <div id="slider_1" style="display:none;">
        <div class="detail">
            <div class="de_title"><span class="icon iconfont icon-youyongchi"></span>酒店服务</div>
            <div class="txt">
                <ul class="ul_line" >
                    <?php foreach(explode(',',$output['hotel_info']['hotel_param_service']) as $value) {?>
                    <li><?php echo $value; ?></li>
                   <?php }?>
                </ul>
            </div>
        </div>
        <div class="detail">
            <div class="de_title"><span class="icon iconfont icon-gongwujiedai"></span>房间设施</div>
            <div class="txt">
                <ul class="ul_line">
                    <?php foreach(explode(',',$output['hotel_info']['hotel_param_room']) as $value) {?>
                        <li><?php echo $value; ?></li>
                    <?php }?>
                </ul>
            </div>
        </div>
        <!--<div class="detail">
            <div class="de_title"><span class="icon iconfont icon-canting"></span>餐饮服务</div>
            <div class="txt ">
                <ul class="ul_line">
                    <li>中餐厅</li>
                    <li>西餐厅</li>
                    <li>日式餐厅</li>
                </ul>
            </div>
            <div class="txt">
                <ul class="ul_line">
                    <li>咖啡厅</li>
                    <li>送餐服务</li>
                </ul>
            </div>
        </div>-->
    </div>
    <div class="slid" >展开</div>
    <div class="detail">
        <div class="de_title" onclick="window.location.href='tel:<?php echo $output['hotel_info']['hotel_tel']; ?>'" >
            <span class="icon iconfont icon-dianhua"></span><?php echo $output['hotel_info']['hotel_tel']; ?>
            <a class="fr" href="tel:<?php echo $output['hotel_info']['hotel_tel']; ?>">
                <span class="connect">联系</span>
                <span class="rotate iconfont icon-xialalan-copy"></span>
            </a>
        </div>
    </div>
    <div class="detail">
        <div class="de_title">酒店介绍</div>
        <p class="p_txt">
            <?php echo $output['hotel_info']['hotel_content']; ?>
        </p>
    </div>
</div>
<!--<script src="resource/js/main.js"></script>-->
<script>
$(document).ready(function () {
        $(".slid").click(function(){
            $("#slider_1").slideToggle(function(){
                $(this).html()=="展开" ? $(".slid").html("收起") : $(".slid").html("展开");});
        });
}
</script>